import request from '@/utils/request';
import qs from 'qs';
// 用户登录
export const Login = (data) => request({
  method: 'POST',
  url: '/front/user/login',
  data: qs.stringify(data),
});
// 用户基本信息
export const UserInfo = () => request({
  method: 'GET',
  url: '/front/user/getInfo',
});

export const getUserPages = (data) => request({
  method: 'POST',
  url: '/boss/user/getUserPages',
  data,
});

export default {};
